<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/7/7
 * Time: 21:19
 */

namespace app\tph\controller;
error_reporting(E_ERROR);

class Index extends base
{
    public function index()
    {
        $request = request();
        $moudulename=$request->module();
        $this->assign("moudulename",$moudulename);
        return $this->fetch();
    }

    public function ui()
    {
        return $this->fetch( );
    }

    public function help()
    {
        return $this->fetch( );
    }

    public function test()
    {
        $dbDict = config('DB_FIELD_DICT');
        dump($dbDict);
        dump($dbDict['article']['title']['asName']);
        $this->display();
    }
}